//1,引入vuex
import vuex from "vuex"

//2,引入Vue
import Vue from "vue"



//3,vuex作为Vue的插件,在Vue.use中使用
Vue.use(vuex)

import count from "./count"
import movie from "./movie"
//4,创建并暴露一个store
    export default new vuex.Store({
        modules:{
            count:count,
            movie:movie
        }
    })